package com.zyf.chapter02.behavior.observer.eventbus;

import java.util.concurrent.Executor;
import java.util.concurrent.Executors;

/**
 * 单线程线程池
 * @author yifeng
 */
public class MoreExecutors {
    public static Executor directExecutor() {
        return Executors.newFixedThreadPool(1);
    }
}
